import {post,ajax} from '@/utils/ajax'
// 查询列表
export function search(query) {
    return post('/wf/proxy/setting/search', query);
}
export function searchProxyTargetUser(query) {
    return post('/wf/proxy/setting/searchProxyTargetUser', query);
}
export function searchProxyUser(query) {
    return post('/wf/proxy/setting/searchProxyUser', query);
}

// 新增
export function insert(params) {
    return post('/wf/proxy/setting/insertProxy', params);
}
// 删除
export function deleteById(id) {
  return post('/wf/proxy/setting/deleteById',{id});
}
// 更新
export function updateById(params) {
    return post('/wf/proxy/setting/updateProxyById', params);
}
// 根据ID获取
export function selectById(id) {
    return post('/wf/proxy/setting/selectById', { id });
}
